<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>OrbbecSDK: header_cn/libobsensor/hpp/Types.hpp 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="orbbec_icon.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OrbbecSDK
   &#160;<span id="projectnumber">1.8.3</span>
   </div>
   <div id="projectbrief">OrbbecSDK: 奥比中光 3D 相机开发套件</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="pages.html"><span>相关页面</span></a></li>
      <li><a href="namespaces.html"><span>命名空间</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>文件成员</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_9a5345e98321307492e41331ab8e5636.html">header_cn</a></li><li class="navelem"><a class="el" href="dir_a57403e30bad3723557b0550251f8216.html">libobsensor</a></li><li class="navelem"><a class="el" href="dir_8243e961fc5f523c63be320c0718524a.html">hpp</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">Types.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="Types_8hpp.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ObTypes_8h.html">libobsensor/h/ObTypes.h</a>&quot;</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#endif</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="Types_8hpp.html#af4ed1a1867e655fa5e4b77e646f080a4">   22</a></span>&#160;<span class="keyword">using</span> <a class="code" href="Types_8hpp.html#af4ed1a1867e655fa5e4b77e646f080a4">SendFileCallback</a> = std::function&lt;void(OBFileTranState state, const char *message, uint8_t percent)&gt;;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="Types_8hpp.html#a7ba2b2a9b8b236cd9d7bbbf666c49989">   30</a></span>&#160;<span class="keyword">using</span> <a class="code" href="Types_8hpp.html#a7ba2b2a9b8b236cd9d7bbbf666c49989">DeviceUpgradeCallback</a> = std::function&lt;void(OBUpgradeState state, const char *message, uint8_t percent)&gt;;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="Types_8hpp.html#a13d2e28ccdab82c8e22163d4b71f48aa">   38</a></span>&#160;<span class="keyword">using</span> <a class="code" href="Types_8hpp.html#a13d2e28ccdab82c8e22163d4b71f48aa">DeviceStateChangedCallback</a> = std::function&lt;void(OBDeviceState state, const char *message)&gt;;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="Types_8hpp.html#ad61b52694f0b59f151b1a380d3db0876">   46</a></span>&#160;<span class="keyword">using</span> <a class="code" href="Types_8hpp.html#ad61b52694f0b59f151b1a380d3db0876">GetDataCallback</a> = std::function&lt;void(OBDataTranState state, OBDataChunk *dataChunk)&gt;;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="Types_8hpp.html#a55032b39d9a625cc1b43684765ad46b1">   54</a></span>&#160;<span class="keyword">using</span> <a class="code" href="Types_8hpp.html#a55032b39d9a625cc1b43684765ad46b1">SetDataCallback</a> = std::function&lt;void(OBDataTranState state, uint8_t percent)&gt;;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="preprocessor">#ifdef __cplusplus</span></div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;}</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="Types_8hpp_html_a55032b39d9a625cc1b43684765ad46b1"><div class="ttname"><a href="Types_8hpp.html#a55032b39d9a625cc1b43684765ad46b1">SetDataCallback</a></div><div class="ttdeci">std::function&lt; void(OBDataTranState state, uint8_t percent)&gt; SetDataCallback</div><div class="ttdoc">设置 raw data 属性数据时进度回调 </div><div class="ttdef"><b>Definition:</b> <a href="Types_8hpp_source.html#l00054">Types.hpp:54</a></div></div>
<div class="ttc" id="ObTypes_8h_html"><div class="ttname"><a href="ObTypes_8h.html">ObTypes.h</a></div><div class="ttdoc">提供 SDK 中常用的结构体，枚举常量定义。 </div></div>
<div class="ttc" id="Types_8hpp_html_af4ed1a1867e655fa5e4b77e646f080a4"><div class="ttname"><a href="Types_8hpp.html#af4ed1a1867e655fa5e4b77e646f080a4">SendFileCallback</a></div><div class="ttdeci">std::function&lt; void(OBFileTranState state, const char *message, uint8_t percent)&gt; SendFileCallback</div><div class="ttdoc">文件传输回调 </div><div class="ttdef"><b>Definition:</b> <a href="Types_8hpp_source.html#l00022">Types.hpp:22</a></div></div>
<div class="ttc" id="Types_8hpp_html_a7ba2b2a9b8b236cd9d7bbbf666c49989"><div class="ttname"><a href="Types_8hpp.html#a7ba2b2a9b8b236cd9d7bbbf666c49989">DeviceUpgradeCallback</a></div><div class="ttdeci">std::function&lt; void(OBUpgradeState state, const char *message, uint8_t percent)&gt; DeviceUpgradeCallback</div><div class="ttdoc">设备升级回调 </div><div class="ttdef"><b>Definition:</b> <a href="Types_8hpp_source.html#l00030">Types.hpp:30</a></div></div>
<div class="ttc" id="Types_8hpp_html_a13d2e28ccdab82c8e22163d4b71f48aa"><div class="ttname"><a href="Types_8hpp.html#a13d2e28ccdab82c8e22163d4b71f48aa">DeviceStateChangedCallback</a></div><div class="ttdeci">std::function&lt; void(OBDeviceState state, const char *message)&gt; DeviceStateChangedCallback</div><div class="ttdoc">设备状态回调 </div><div class="ttdef"><b>Definition:</b> <a href="Types_8hpp_source.html#l00038">Types.hpp:38</a></div></div>
<div class="ttc" id="Types_8hpp_html_ad61b52694f0b59f151b1a380d3db0876"><div class="ttname"><a href="Types_8hpp.html#ad61b52694f0b59f151b1a380d3db0876">GetDataCallback</a></div><div class="ttdeci">std::function&lt; void(OBDataTranState state, OBDataChunk *dataChunk)&gt; GetDataCallback</div><div class="ttdoc">获取 raw data 属性数据时数据及进度回调 </div><div class="ttdef"><b>Definition:</b> <a href="Types_8hpp_source.html#l00046">Types.hpp:46</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2023年 十一月 24日 星期五 10:56:17 , 为 OrbbecSDK使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
